package com.yl.ydk.bean

data class LiveDetailBean(
    val code: Int,
    val `data`: Data,
    val status: String
) {
    data class Data(
        val bg_image: String,
        val created_at: String,
        val desc: String,
        val end_live_time: Any,
        val end_time: String,
        val file_ids: String,
        val flow_state: Int,
        val heigth: Int,
        val id: Int,
        val image: String,
        val is_replay: Int,
        val is_show: Int,
        val live_code: String,
        val play_url: PlayUrl,
        val push_url: String,
        val roomId: String,
        val start_live_time: Any,
        val start_time: String,
        val statistic: Statistic,
        val status: Int,
        val title: String,
        val unit_id: Int,
        val updated_at: String,
        val user: User,
        val user_id: Int,
        val width: Int
    )

    data class PlayUrl(
        val flv: String,
        val m3u8: String,
        val rtmp: String
    )

    data class Statistic(
        val age_time: Int,
        val bandwidth: Int,
        val created_at: String,
        val id: Int,
        val im_peo_num: Int,
        val im_say_num: Int,
        val like_peo_num: Int,
        val like_total: Int,
        val live_id: Int,
        val updated_at: String,
        val view_max_peo_num: Int,
        val view_peo_num: Int,
        val view_total: Int
    )

    data class User(
        val birthday: String,
        val chat_online_status: Int,
        val city_id: Int,
        val created_at: String,
        val device_no: String,
        val email: String,
        val email_verified_at: Any,
        val free_times: Int,
        val gh_openid: String,
        val id: Int,
        val invite_code: String,
        val is_completed: Int,
        val last_login_time: Any,
        val level: Int,
        val name: String,
        val nickname: String,
        val openid: String,
        val phone: String,
        val photo: String,
        val pid: Int,
        val province_id: Int,
        val register_source: Int,
        val session_key: String,
        val sex: Int,
        val signature: String,
        val state: Int,
        val status: Int,
        val type: Int,
        val uid: String,
        val union_id: String,
        val unit_id: Int,
        val updated_at: String,
        val video_online_status: Int
    )
}
